﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;

namespace Nop.Core.Log.Model
{
    /// <summary>
    /// table log entity
    /// </summary>
    public class BaseTableEntity : TableEntity
    {
        /// <summary>
        /// hostname
        /// </summary>
        public string HostName
        {
            get { return Dns.GetHostName(); }
        }

        /// <summary>
        /// log message
        /// </summary>
        public string LogMsg { get; set; }

        /// <summary>
        /// log level
        /// </summary>
        public string LogLevel { get; set; }
    }
}
